package com.zch.starter.metrics.prometheus.springboot.starter.metrics.gauge;

import java.util.Map;

public abstract class AbstractRegisterGauge implements MetricsGauge{
    @Override
    public Double execute() {
        return invoker();
    }
    public abstract Double invoker();

    public abstract Map<String,String> getCommonTagMap();
    public abstract String getMetricName();
}
